package com.kathez.entity;

public interface DAOOperable {

	/**
	 * To indicate whether the data access operation was
	 * success on failure, when this entity object undergoes
	 * any data manipulation operation.
	 * True means Success.
	 * False means Failure. 
	 * 
	 * @param success
	 */
	public abstract void setDataOpsSuccess(boolean success);

	/**
	 * Gets the Data operation success flag 
	 * 
	 * @param success
	 */
	public abstract boolean getDataOpsSuccess();
	
	public String getDAOErrorCode();
	
	public String getDAOErrorMessage();
	
	public void setDAOErrorCode(String errCode);
	
	public void setDAOErrorMessage(String errMsg);

}